//
//  ImageViewCell.m
//  流年
//
//  Created by lanou3g on 15/12/17.
//  Copyright © 2015年 魏大宇. All rights reserved.
//

#import "ImageViewCell.h"
#import "GiftModel.h"
#import "UIImageView+WebCache.h"
@implementation ImageViewCell

-(void)setcellDataWithGiftModel:(GiftModel*)model{
    [self.ImageView sd_setImageWithURL:[NSURL URLWithString:model.link] placeholderImage:[UIImage imageNamed:@"placelolder.jpg"]];
    self.nameLabel.text = model.tag;
    

}



//bounds发生改变时
-(void)layoutSubviews{
    [super layoutSubviews];
    self.contentView.layer.cornerRadius=10;
    self.contentView.clipsToBounds =YES;
    
    
    
}


@end
